package com.xiaoshuidi.cloud.framework.pay.core.client.impl.tonglian;

import com.xiaoshuidi.cloud.framework.pay.core.client.PayClientConfig;
import lombok.Data;

import javax.validation.ConstraintViolation;
import javax.validation.Validator;
import java.util.Set;

@Data
public class TonglianClientConfig implements PayClientConfig {
    /**
     * 平台分配的商户号
     */
    private String cusid;
    /**
     * 平台分配的appid
     */
    private String appid;
    /**
     * 平台分配的机构号
     */
    private String orgid;

    /**
     * 商户SM2私钥
     */
    private String sm2PrivateKey;

    /**
     * 通联SM2公钥
     */
    private String sm2PublicKey;
    @Override
    public Set<ConstraintViolation<PayClientConfig>> verifyParam(Validator validator) {
        return null;
    }
}
